package com.fiume.gateway.web;

import com.fiume.gateway.Result.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * Description:
 * </p>
 *
 * @author fiume
 * @version v1.0.0
 * @create 2021-01-20 19:33
 * @see com.fiume.gateway.web
 */
@RestController
@RequestMapping("/fallback")
public class FallbackController {

    @RequestMapping("/test")
    public Result test() {
        return Result.error("服务超时!");
    }
}
